 //to reset element-ui default css
 .el-upload {
   input[type="file"] {
     display: none !important;
   }
 }

 .el-upload__input {
   display: none;
 }

 //暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
 .el-dialog {
   transform: none;
   left: 0;
   position: relative;
   margin: 0 auto;
 }

 //element ui upload
 .upload-container {
   .el-upload {
     width: 100%;

     .el-upload-dragger {
       width: 100%;
       height: 200px;
     }
   }
 }

 form.upload {
   width: 100% !important;

   .el-upload {
     width: 100%;

     .el-upload-dragger {
       height: unset;
       width: 100%;

       .el-upload-text-text {
         color: #000 !important;
       }
     }

     .el-upload-list.el-upload-list--text {
       display: flex;
       justify-content: center;
       align-items: center;

       a {
         display: flex !important;
         flex-direction: column !important;
         align-items: center !important;
         width: fit-content !important;
       }
     }
   }
 }